﻿using MyEartags.Enumerate;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities;

namespace MyEartags.SheepTag
{
    /// <summary>
    /// 羊只戴标表
    /// </summary>
    [Table("SheepLabel")]
    public class SheepLabel : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 耳号外键
        /// </summary>
        public int Overid { get; set; }

        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? ElectronicEar { get; set; }

        /// <summary>
        /// 新电子耳号
        /// </summary>
        public string? NewElectronicEar { get; set; }

        /// <summary>
        /// 戴标原因
        /// </summary>
        public LabelCause LabelCause { get; set; }

        /// <summary>
        /// 戴标状态
        /// </summary>
        public LabelState LabelState { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? AddPeople { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime UserTime { get; set; } = DateTime.Now;
    }
}
